home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat7 / clone.z / clone
Encoding:
Text File  |  2002-10-03  |  1.4 KB  |  67 lines

  1.  
  2.  
  3.  
  4. cccclllloooonnnneeee((((7777))))                                                              cccclllloooonnnneeee((((7777))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      clone - open any minor device on a STREAMS driver
  10.  
  11. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  12.      _c_l_o_n_e passes a minor number of 0 to the target driver, and it is the
  13.      responsibility of the target driver to select an unused minor number from
  14.      the numbers it supports.
  15.  
  16.      _c_l_o_n_e generates an ENXIO error, without opening the device, if the minor
  17.      device number provided does not correspond to a valid major device, or if
  18.      the driver indicated is not a STREAMS driver.
  19.  
  20. CCCCAAAAVVVVEEEEAAAATTTTSSSS
  21.      Multiple opens of the same minor device cannot be done through the _c_l_o_n_e
  22.      interface.  Executing _s_t_a_t(2) on the filesystem node for a cloned device
  23.      yields a different result from executing _f_s_t_a_t(2) using a file descriptor
  24.      obtained from opening the node.
  25.  
  26. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  27.      log(7), makedevice(D3)
  28.      _I_R_I_X _D_e_v_i_c_e _D_r_i_v_e_r _P_r_o_g_r_a_m_m_e_r'_s _G_u_i_d_e
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.